<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>转让店铺</title>
    <script src="../plugins/JQuery/jquery-2.1.1.min.js"></script>
    <script src="../plugins/Bootstrap/js/bootstrap.js"></script>
    <!--线上css-->
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">
    <script>

        $(function () {
            $("#transfer").click(function () {
                $.ajax({
                    url:'/taobei_web/Store/transferStore',
                    data:{
                        yourName:$("#yourName").val(),
                        yourPassword:$("#yourPassword").val(),
                        username:$("#username").val(),
                        tel:$("#tel").val(),
                        email:$("#email").val(),

                    },
                    dataType:'json',
                    type:'post',
                    success:function (respBean) {
                        if (respBean.status==500){
                            alert(respBean.msg)
                        } else {
                            alert(respBean.msg)
                            location.href="welcome-3.html"
                        }
                    }
                })
            })
        })
    </script>
</head>
<body>

<div class="container">
    <div class="row">
        <div class="span12">
            <form class="form-horizontal">
                <div class="control-group">
                    <label class="control-label">店家姓名</label>
                    <div class="controls">
                        <input type="text" placeholder="你的姓名" id="yourName" class="form-control"><br>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">您的登录密码</label>
                    <div class="controls">
                        <input type="text" placeholder="你的账号密码" id="yourPassword" class="form-control"><br>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">转让人姓名</label>
                    <div class="controls">
                        <input type="text" placeholder="转让给谁" id="username" class="form-control"><br>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">转让人电话</label>
                    <div class="controls">
                        <input type="text" placeholder="转让人电话" id="tel" class="form-control"><br>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">转让人邮箱</label>
                    <div class="controls">
                        <input type="text" placeholder="转让人邮箱" id="email" class="form-control"><br>
                    </div>
                </div>

                <div class="control-group">
                    <div class="controls">
                        <label class="checkbox"></label>
                        <input type="button" value="转让" id="transfer" class="btn btn-default">
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>





</body>
</html>